﻿<UserControl x:Class="Abhiruchi_Phase1.UC_HRM_EmpOrganizational"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:wp="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
        xmlns:sys="clr-namespace:System;assembly=mscorlib" 
        Height="650" Width="Auto" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignWidth="695">
    <Grid Height="650" Width="AUTO" HorizontalAlignment="Stretch">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="159" />
            <ColumnDefinition Width="20*" MinWidth="80" />
            <ColumnDefinition Width="30" />
            <ColumnDefinition Width="146" />
            <ColumnDefinition Width="2*" />
            <ColumnDefinition Width="20*" MinWidth="80"/>
            <ColumnDefinition Width="30" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="6*" />
            <RowDefinition Height="318*" />
            <RowDefinition Height="72*" />
            <RowDefinition Height="25*" />
            <RowDefinition Height="137*" />
            <RowDefinition Height="92*" />
        </Grid.RowDefinitions>
        <Label Content="" Height="28" HorizontalAlignment="Left" Name="lblEmpId" VerticalAlignment="Top" Grid.Row="1" Grid.Column="1" HorizontalContentAlignment="Left" Foreground="#FF2554C7" Width="159" FontWeight="Bold" Grid.ColumnSpan="2" Margin="0,1,0,0" />
        <Label Content="Date Of Joining" Height="28" HorizontalAlignment="Left" Margin="2,35,0,0" Name="lblDOJ" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Width="AUTO" Grid.Row="1" Foreground="#FF504B4B" />
        <Label Content="Designation" HorizontalAlignment="Left" Margin="0,35,0,255" Name="lblDesg" FontFamily="Segoe UI" FontSize="12"  Foreground="#FF504B4B"  Grid.Row="1" Width="137" Grid.Column="3" />
        <Label Content="Reporting To" Height="28" HorizontalAlignment="Left" Margin="1,92,0,0" Name="lblReportingTo" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Width="128" Grid.Row="1" Foreground="#FF504B4B" />
        <ComboBox  Margin="0,35,0,0" Name="cmbDesignation"  FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Grid.Column="5" Foreground="Black" Height="25" HorizontalAlignment="Stretch" VerticalAlignment="Top" >
            <ComboBoxItem Content="-- Select Designation --" IsSelected="True" />
            <ComboBoxItem Content="Director" />
            <ComboBoxItem Content="General Manager" />
            <ComboBoxItem Content="Section Incharge" />
            <ComboBoxItem Content="Supervisor" />
            <ComboBoxItem Content="Worker" />
        </ComboBox>
        <wp:AutoCompleteBox x:Name="txtReportingTo"  ItemsSource="{Binding Data}"  Height="25" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="0,92,0,0" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Grid.Column="1" Foreground="Black" HorizontalContentAlignment="Stretch" LostFocus="txtReportingTo_LostFocus" />
        <Label Content="Recruited By" Height="28" HorizontalAlignment="Left" Margin="2,92,0,0" Name="lblRecruitedBy" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Width="137" Foreground="#FF504B4B" Grid.Column="3" />
        <wp:AutoCompleteBox Height="25" HorizontalAlignment="Stretch" ItemsSource="{Binding Data}" Margin="0,92,1,0" Name="txtRecruitedBy" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Grid.Column="5" Foreground="Black" HorizontalContentAlignment="Stretch" LostFocus="txtRecruitedBy_LostFocus" />
        <Label Content="Previous Employer" HorizontalAlignment="Left" Margin="0,148,0,142" Name="lblPrevEmp" FontFamily="Segoe UI" FontSize="12" Width="126" Grid.Row="1" Foreground="#FF504B4B" />
        <TextBox Height="25" HorizontalAlignment="Stretch" Margin="0,148,2,0" Name="txtPrevEmp" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Grid.Column="1" TextChanged="txtPrevEmp_TextChanged" Foreground="Black" HorizontalContentAlignment="Stretch" />
        <Label Content="Year Of Experience" Height="28" HorizontalAlignment="Left" Margin="3,148,0,0" Name="lblYearOfExp" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Width="137" Foreground="#FF504B4B" Grid.Column="3" />
        <TextBox Height="25" HorizontalAlignment="Stretch" Margin="0,148,1,0" Name="txtYOP" VerticalAlignment="Top" MaxLength="5" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Grid.Column="5" Foreground="Black" HorizontalContentAlignment="Stretch" />
        <Label Content="Refered By" Height="28" HorizontalAlignment="Left" Margin="3,206,0,0" Name="lblReferedBy" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Width="126" Foreground="#FF504B4B" />
        <TextBox Height="25"  Margin="0,206,2,0" Name="txtReferedBy" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Grid.Column="1" Foreground="Black" HorizontalContentAlignment="Stretch" HorizontalAlignment="Stretch" />
        <Label Content="Reference Ph. Number" Height="28" HorizontalAlignment="Left" Margin="2,206,0,0" Name="lblRefNo" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Width="137" Foreground="#FF504B4B" Grid.Column="3" />
        <TextBox Height="25" HorizontalAlignment="Stretch" Margin="0,206,1,0" Name="txtRefNO" VerticalAlignment="Top" MaxLength="16" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Grid.Column="5" Foreground="Black" HorizontalContentAlignment="Stretch" />
        <DatePicker  Height="25" HorizontalAlignment="Stretch" Margin="0,35,1,0" Name="dpDOJ" VerticalAlignment="Top" SelectedDateChanged="dpDOJ_SelectedDateChanged" IsEnabled="True" IsTodayHighlighted="True" SelectedDate="{x:Static sys:DateTime.Now}" SelectedDateFormat="Short" FontFamily="Segoe UI" FontSize="12" Grid.Row="1" Foreground="Black" Grid.Column="1" HorizontalContentAlignment="Stretch" />
        <Button Content="Previous" Height="23" HorizontalAlignment="Left" Margin="118,35,0,0" Name="btnPrev" VerticalAlignment="Top" Width="75" Grid.Row="5" Grid.Column="6" />
        <Button Content="Save" Height="20" HorizontalAlignment="Right" Margin="0,92,32,0" Name="btnSave" VerticalAlignment="Top" Width="75" Click="btnSave_Click" Grid.Row="4" Grid.Column="3" Visibility="Hidden" />
        <Button Content="Next" Height="20" HorizontalAlignment="Left" Margin="170,92,0,0" Name="btnNext" VerticalAlignment="Top" Width="75" Click="btnNext_Click" Grid.Row="4" Grid.Column="5" Visibility="Hidden" />
        <Grid Height="131" HorizontalAlignment="Stretch" Name="docgrid" VerticalAlignment="Top" Grid.Row="2" Grid.ColumnSpan="7" Grid.RowSpan="3" Margin="0,22,0,0">
            <Label Content="Documents" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="0,6,0,0" Name="lalblDoc" VerticalAlignment="Top" Foreground="#FF2554C7" />
            <Label Content="Highest Qualification Certificate" Height="28" HorizontalAlignment="Left" Margin="2,32,0,0" Name="lblHighQual" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Foreground="#FF504B4B" />
            <Label Content="NA" Height="28" HorizontalAlignment="Left" Margin="204,31,0,0" Name="lblHQNA" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Foreground="#FF504B4B" Width="113" />
            <Label Content="Previous Employer" Height="28" HorizontalAlignment="Left" Margin="1,66,0,0" Name="lblPrevEmpLetter" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Foreground="#FF504B4B" />
            <Label Content="Resume" Height="28" HorizontalAlignment="Left" Margin="2,95,0,0" Name="lblResume" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Foreground="#FF504B4B" />
            <Label Content="NA" Height="28" HorizontalAlignment="Left" Margin="204,65,0,0" Name="lblPrevEmpNA" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Foreground="#FF504B4B" Width="111" />
            <Label Content="NA" Height="28" HorizontalAlignment="Left" Margin="204,0,0,9" Name="lblResumeNA" VerticalAlignment="Bottom" FontFamily="Segoe UI" FontSize="12" Foreground="#FF504B4B" Width="111" />
            <Button Content="Upload" Height="20" HorizontalAlignment="Left" Margin="376,36,0,0" Name="btnHighQualUpload" VerticalAlignment="Top" Width="75" Click="btnHighQualUpload_Click" />
            <Button Content="Upload" Height="20" HorizontalAlignment="Left" Margin="376,70,0,0" Name="btnPrevEmpUpload" VerticalAlignment="Top" Width="75" Click="btnPrevEmpUpload_Click" />
            <Button Content="Upload" Height="20" HorizontalAlignment="Left" Margin="376,106,0,0" Name="btnResumeUpload" VerticalAlignment="Top" Width="75" Click="btnResumeUpload_Click" />
            <Button Content="View" Height="20" HorizontalAlignment="Left" Margin="493,36,0,0" Name="ViewHqCertf" VerticalAlignment="Top" Width="75" Click="ViewHqCertf_Click" />
            <Button Content="View" Height="20" HorizontalAlignment="Left" Margin="493,70,0,0" Name="ViewPrevEmpCertf" VerticalAlignment="Top" Width="75" Click="ViewPrevEmpCertf_Click_1" />
            <Button Content="View" Height="20" HorizontalAlignment="Left" Margin="493,104,0,0" Name="ViewResumeCertf" VerticalAlignment="Top" Width="75" Click="ViewResumeCertf_Click_1" />
            <Button Content="Remove" Height="20" HorizontalAlignment="Left" Margin="614,37,0,0" Name="btnRemoveHq" VerticalAlignment="Top" Width="75" Click="btnRemoveHq_Click" />
            <Button Content="Remove" Height="20" HorizontalAlignment="Left" Margin="614,74,0,0" Name="btnRemovePe" VerticalAlignment="Top" Width="75" Click="btnRemovePe_Click" />
            <Button Content="Remove" Height="20" HorizontalAlignment="Left" Margin="614,104,0,0" Name="btnRemoveResume" VerticalAlignment="Top" Width="75" Click="btnRemoveResume_Click" />
        </Grid>
        <Grid Height="67" HorizontalAlignment="Stretch" Margin="2,251,0,0" Name="grdqulf" VerticalAlignment="Top" Width="Auto" Grid.Row="1" Grid.ColumnSpan="7">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="159" />
                <ColumnDefinition Width="20*"  MinWidth="80"/>
                <ColumnDefinition Width="30" />
                <ColumnDefinition Width="146" />
                <ColumnDefinition Width="2*" />
                <ColumnDefinition Width="20*"  MinWidth="80"/>
                <ColumnDefinition Width="30" />
            </Grid.ColumnDefinitions>
            <Label Content="Qualification" Height="28" HorizontalAlignment="Left" Margin="0,23,0,0" Name="lblQualification" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Width="100" Foreground="#FF504B4B" />
            <ComboBox  Margin="0,24,4,0" Name="cmbQualification" SelectionChanged="cmbQualification_SelectionChanged" FontFamily="Segoe UI" FontSize="12" Foreground="Black" HorizontalContentAlignment="Stretch" HorizontalAlignment="Stretch" Height="25" VerticalAlignment="Top" Grid.Column="1">
                <ComboBoxItem Content="-- Select Qualification --" IsSelected="True" />
                <ComboBoxItem Content="Not Available" />
                <ComboBoxItem Content="Post Graduate" />
                <ComboBoxItem Content="Graduate" />
                <ComboBoxItem Content="Intermediate" />
                <ComboBoxItem Content="SSC" />
                <ComboBoxItem Content="Other" />
            </ComboBox>
            <Label Content="Other Qualification"  Height="28" HorizontalAlignment="Left" Margin="0,23,0,0" Name="lblOtherQual" VerticalAlignment="Top" FontFamily="Segoe UI" FontSize="12" Width="128" Grid.Column="3" Foreground="#FF504B4B" Visibility="Hidden" />
            <TextBox Height="25" HorizontalAlignment="Stretch"  Margin="0,23,0,0" Name="txtOtherQual" VerticalAlignment="Top"  Grid.Column="5" FontFamily="Segoe UI" FontSize="12" Foreground="Black" Visibility="Hidden" HorizontalContentAlignment="Stretch" />
            <Label Content="*" Foreground="Red" Height="24" HorizontalAlignment="Left" Margin="67,22,0,0" Name="label7" VerticalAlignment="Top" />
        </Grid>
        <Label Content="Date Format: dd/mm/yyyy" Height="28" HorizontalAlignment="Stretch" Margin="0,57,2,0" Name="label2" VerticalAlignment="Top" FontSize="12" FontFamily="Segoe UI" Grid.Row="1" Grid.Column="1" Foreground="#FF504B4B" />
        <Label Content="Employee ID" Height="28" HorizontalAlignment="Left" Margin="1,3,0,0" Name="label3" VerticalAlignment="Top" Grid.Row="1" Foreground="#FF2554C7" FontWeight="Bold" />
        <Label Content="*" Grid.Row="1" Height="24" HorizontalAlignment="Left" Margin="84,35,0,0" Name="label4" VerticalAlignment="Top" Foreground="Red" />
        <Label Content="*" Foreground="Red" Grid.Row="1" Height="24" HorizontalAlignment="Left" Margin="63,34,0,0" Name="label5" VerticalAlignment="Top" Grid.Column="3" />
        <Label Content="*" Foreground="Red" Grid.Row="1" Height="24" HorizontalAlignment="Left" Margin="69,90,0,0" Name="label6" VerticalAlignment="Top" Grid.Column="3" />
    </Grid>
</UserControl>
